/*
 * regExp.h
 *
 *  Created on: 04/gen/2015
 *      Author: root
 */

#ifndef LIB_REGEXP_H_
#define LIB_REGEXP_H_


/*Reg Exp hostname*/
#define validHostnameRegex  "^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$"
/*Reg Exp IP*/
#define validIpAddressRegex "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
/*Reg Exp email*/
#define validEmailAddress "^[_a-z0-9-]+(\\.[_a-z0-9-]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,4})$"


#endif /* LIB_REGEXP_H_ */
